<script setup lang='ts'>
import { getData, getUserInfo } from "@/api"
import { onMounted } from "vue";

onMounted(() => {
    getData().then(res => {
        console.log(res)
    })
    getUserInfo({ id: 100 }).then(res => {
        console.log('用户信息', res)
    })
})

</script>

<template>
    <div>
        还没想好干啥
    </div>
</template>

<style scoped></style>